package cz.af.portletExams.backend;

import cz.af.portletExams.model.Exam;
import cz.af.portletExams.model.Subject;

import java.util.List;

public interface ExamsOverViewBackend {

    List<Subject> findSubjectsForUsername(String userName);

//    Subject findExam(String subjectId);

    Exam findExam(String examId);

    List<Exam> findExamsForSubject(String subjectId);

    boolean isUsernameValid(String username);

    List<String> findExamIdsForUser(String username);

    List<Exam> findExamsForUser(String username);

}
